<?php

if (Session::getIDPerson()== -1){
	echo Session::getLoginInfo();
	echo '
		<form action="pages/login_function.php" method="post">
			login f&uuml;r Mitglieder, Benutzername:<input name="Benutzername"/>Passwort: <input type="password" name="Passwort"/> 
			<input type="submit" name="submit" value="login"/>
		</form>'; 
} else {
	echo Session::getGreeting();
	echo '    
	    <form action="pages/login_function.php" method="post">
	    	<input type="hidden" name="logout" value=true/>
			<input type="submit" name="submit" value="logout"/>
		</form>';
}

?>
